package com.woniuxy.mesboot.mapper;

import com.woniuxy.mesboot.dto.OrdersDTO;
import com.woniuxy.mesboot.dto.OrdersDetailsDTO;
import com.woniuxy.mesboot.entity.MesOrders;
import com.woniuxy.mesboot.vo.OrdersDetailsVO;
import com.woniuxy.mesboot.vo.OrdersTicketVO;
import com.woniuxy.mesboot.vo.OrdersVO;

import java.util.List;

/**
* @author 21925
* @description 针对表【mes_orders】的数据库操作Mapper
* @createDate 2023-05-22 19:27:13
* @Entity com.woniuxy.mesboot.entity.MesOrders
*/
public interface MesOrdersMapper {

    OrdersTicketVO selectOrderTickets(String ordersNo);

    List<OrdersDetailsVO> selectAllByDetails(String ordersNo);

    List<OrdersVO> selectAll(OrdersDTO orders);

    int deleteByPrimary(String ordersNo);

    int insert(MesOrders record);

    int insertSelective(OrdersDetailsDTO detailsDTO);

    MesOrders selectByPrimaryKey(String ordersNo);

    int updateByPrimaryKeySelective(MesOrders record);

    int updateByPrimaryKey(MesOrders record);

}
